/**
 * 调用接口中的dog类
 */
public class Dog implements Animal {

    /**
     * 创建两个方法eat，makeSound
     */
    @Override
    public void eat() {
        System.out.println("狗在吃东西");
    }

    @Override
    public void makeSound() {
        System.out.println("狗叫：汪汪");
    }
}
